//
//  Date-Extension.swift
//  七哥直播
//
//  Created by seven on 2017/12/20.
//  Copyright © 2017年 seven. All rights reserved.
//

import Foundation
extension Date {
    static func getCurrentTime() -> String{
        let nowDate = Date()
        let interval = Int(nowDate.timeIntervalSince1970)
        return "\(interval)"
    }
}
